package org.lyq.erp.auth.role.pojo;

import java.io.Serializable;
import java.util.List;
import org.lyq.erp.auth.menu.pojo.Menu;
import org.lyq.erp.auth.resources.pojo.Resources;
import org.lyq.erp.config.exception.errorbasics.ErrorMessageBasics;

public class Role extends ErrorMessageBasics implements Serializable {

	private static final long serialVersionUID = 1L;

	private Integer roleUuid;

	private String roleName;

	private String roleCode;

	private Long createtime;

	private Long updatetime;

	private Integer status;

	private List<Resources> resList;

	private List<Menu> menuList;

	private Integer[] menuUuids;

	private Integer[] resUuids;

	public List<Resources> getResList() {
		return this.resList;
	}

	public void setResList(List<Resources> resList) {
		this.resList = resList;
	}

	public List<Menu> getMenuList() {
		return this.menuList;
	}

	public void setMenuList(List<Menu> menuList) {
		this.menuList = menuList;
	}

	public Integer[] getMenuUuids() {
		return this.menuUuids;
	}

	public void setMenuUuids(Integer[] menuUuids) {
		this.menuUuids = menuUuids;
	}

	public Integer[] getResUuids() {
		return this.resUuids;
	}

	public void setResUuids(Integer[] resUuids) {
		this.resUuids = resUuids;
	}

	public Integer getRoleUuid() {
		return this.roleUuid;
	}

	public void setRoleUuid(Integer roleUuid) {
		this.roleUuid = roleUuid;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = (roleName == null) ? null : roleName.trim();
	}

	public String getRoleCode() {
		return this.roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = (roleCode == null) ? null : roleCode.trim();
	}

	public Long getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Long createtime) {
		this.createtime = createtime;
	}

	public Long getUpdatetime() {
		return this.updatetime;
	}

	public void setUpdatetime(Long updatetime) {
		this.updatetime = updatetime;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
